﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;

namespace SPAzureBlobField.Classes
{
    public static class ClassExtensions
    {
        public static string GetValue(this SPListItem lisItem, SPField field)
        {
            var value = lisItem[field.Id];
            if (value != null)
            {
                return value.ToString();
            }
            return String.Empty;
        }
    }
}
